package com.abhinav.spring.bean;

import org.springframework.core.io.Resource;

public class HelloWorld {
	private String name;
	
	Resource externalResource;

	public void setName(String name) {
		this.name = name;
	}

	public void printHello() {
		System.out.println("Spring 3 : Hello ! " + name);
	}

	/**
	 * @return the externalResource
	 */
	public Resource getExternalResource() {
		return externalResource;
	}

	/**
	 * @param externalResource the externalResource to set
	 */
	public void setExternalResource(Resource externalResource) {
		this.externalResource = externalResource;
	}
	
	
}
